package com.jpa.inter;

import org.springframework.beans.factory.annotation.Value;

/**
 * Created by fangjicai on 2020/6/8.
 */
public interface TeacherProjection {

    String getName();
    String getId();
    @Value("#{target.name+' and id is'+ target.id}")
    String getTotal();
}
